package xyz.yuanjilu.test.aop;

import java.lang.reflect.Method;

import org.springframework.aop.MethodBeforeAdvice;

public class GreetingBeforeAdivce implements MethodBeforeAdvice{

	@Override
	public void before(Method arg0, Object[] arg1, Object arg2) throws Throwable {
		String clientName=(String)arg1[0];
		System.out.println("欢迎："+clientName);
	}

}
